﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="DataForest.View.Dialogs.CSVDialogView"
        Title="{Binding Title}" Width="430.836" Height="129" ResizeMode="NoResize" WindowStyle="ToolWindow">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="56*"/>
            <ColumnDefinition Width="85*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="33"/>
            <RowDefinition Height="33"/>
            <RowDefinition Height="33"/>
        </Grid.RowDefinitions>
        <TextBlock TextWrapping="Wrap" Text="Trennzeichen: " VerticalAlignment="Center"/>
        <ComboBox Margin="10,0,0,0" ItemsSource="{Binding SeperatorChars, UpdateSourceTrigger=PropertyChanged}" SelectedItem="{Binding SeperatorChar, UpdateSourceTrigger=PropertyChanged}" Grid.Column="1" VerticalAlignment="Center" Height="23" IsEditable="True"/>
        <TextBlock Grid.Row="1" TextWrapping="Wrap" Text="Spaltennamen in 1. Zeile: " VerticalAlignment="Center"/>
        <CheckBox Margin="10,0,0,0" Grid.Row="1" IsChecked="{Binding FirstRowColumnNames, UpdateSourceTrigger=PropertyChanged}" Grid.Column="1" VerticalAlignment="Center"/>
        <Button Content="{Binding OkayButton, FallbackValue=OK, UpdateSourceTrigger=PropertyChanged}" Grid.Column="1" HorizontalAlignment="Right" Margin="0,6,0,5" Grid.Row="2" VerticalAlignment="Center" Width="94" Click="OKClick" IsDefault="True" />
        <Button Content="{Binding CancelButton, FallbackValue=Abbrechen, UpdateSourceTrigger=PropertyChanged}" Grid.Column="1" HorizontalAlignment="Right" Margin="0,6,99,5" Grid.Row="2" VerticalAlignment="Center" Width="94" Click="CancelClick"/>

    </Grid>
</Window>
